package com.wzk.travelspringboot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.time.LocalTime;

/**
 * @Author: WangZiKang
 * @Date: 2025/1/8 21:30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tb_scenic")
public class Scenic extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    private String name;

    private String area;

    private String type;

    private String addressDetail;

    private String imgUrl;

    private Double ticketPrice;

    private String info;

    private LocalTime openTime;

    private Long view;

    private Integer score;

}
